package com.pzhuweb.sgblog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pzhuweb.sgblog.domain.dto.CategoryDto;
import com.pzhuweb.sgblog.domain.entity.Category;
import com.pzhuweb.sgblog.domain.utils.ResponseResult;

import java.util.List;

public interface CategoryService extends IService<Category> {
    ResponseResult<?> getCategoryList();

    ResponseResult<?> listAllCategory();

    ResponseResult<?> getPageList(Integer pageNum, Integer pageSize, String name, String status);

    ResponseResult<?> addCategory(CategoryDto categoryDto);

    ResponseResult<?> getDetails(Long id);

    ResponseResult<?> updateCategory(CategoryDto categoryDto);

    ResponseResult<?> deleteCategory(List<Long> ids);
}
